<template>
  <div id="app">
    <router-view />
    <template>
      <el-backtop v-if="isShowBackTop" />
      <backTop v-else />
    </template>
  </div>
</template>

<script>
import backTop from '@/components/back-top'
export default {
  name: 'App',
  components: {
    backTop
  },
  data() {
    return {
      includeArr: []
    }
  },
  computed: {
    isShowBackTop() {
      if (/print/.test(this.$route.path)) {
        return true
      }
      return this.$isMobile()
    }
  }
}
</script>
<style>
html,
body {
  width: 100%;
  /* min-width: 1366px; */
  height: 100%;
}
#app {
  /* font-family: '思源黑体'; */
  font-family: -apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Segoe UI,Arial,Roboto,'PingFang SC',miui,'Hiragino Sans GB','Microsoft Yahei',sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 12px;
  width: 100%;
  height: 100%;
  color: #333;
}
/* 全局样式修改 */
.tpc .el-time-spinner__wrapper {
  width: 100% !important;
}
/* 清除结算的截至日期的此刻按钮 */
.tpc .el-picker-panel__footer > .el-button--text:first-child {
  display: none;
}
.tpc .el-scrollbar:nth-of-type(2) {
  display: none !important;
}
</style>
